package com.xinghai.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xinghai.common.annotation.Excel;
import com.xinghai.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Id;

/**
 * 钉钉组织-部门对象 ding_dept
 * 
 * @author xinghai
 * @date 2024-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class DingDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Id
    private Long id;

    /** 钉钉部门ID */
    @Excel(name = "钉钉部门ID")
    private String dingDeptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String name;

    /** 系统部门ID */
    @Excel(name = "系统部门ID")
    private String deptId;

    /** 钉钉父级部门 */
    @Excel(name = "钉钉父级部门")
    private String parentId;


    /** 状态;状态（0正常 1停用） */
    @Excel(name = "状态;状态", readConverterExp = "0=正常,1=停用")
    private String status;
    
    /** 删除标识;删除标志（0代表存在 1代表删除） */
    private String delFlag;

}
